package com.spark.domain;

import org.springframework.data.annotation.Id;

import javax.persistence.Entity;
import java.io.Serializable;

/**
 * Created by zhangshunli on 2016/12/30.
 */
@Entity
public class User implements Serializable {
    @Id
    private Long id;//用户ID

    private String username;//用户名

    private String password;//密码

    private String mobile;//手机号

    private String wechat;//微信号


    public Long getId() { return id; }

    public void setId(Long id) { this.id = id; }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }
}
